package com.zyx.xunyilu.controller;

import com.zyx.xunyilu.utils.RestResponse;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: ShiroController
 * @author: zyx
 * @E-mail: 1377631190@qq.com
 * @DATE: 2019/11/13 8:44
 */
@CrossOrigin
@RestController
public class ShiroController {

    @RequestMapping("/unauth")
    public RestResponse unauth() {
        return RestResponse.fail("没有权限");
    }

}
